﻿@using Gluten.Models
@model Gluten.Models.Menu
@{
    ViewBag.Title = "CMS";
    Layout = "_Layout.cshtml";
}
<h2>
    Home page manager</h2>
<div class="editor-label">
    Title
</div>
@using (Html.BeginForm())
{
    <div class="pageFields">
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.MetaKeywords)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.MetaKeywords)
            @Html.ValidationMessageFor(model => model.MetaKeywords)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.MetaDescription)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.MetaDescription)
            @Html.ValidationMessageFor(model => model.MetaDescription)
        </div>
        <p>
            <input type="submit" value="Save" />
        </p>
    </div>
}